package code._15network.udp.v4;

import java.net.DatagramSocket;
import java.net.SocketException;

public class Client {
    public static void main(String[] args) throws SocketException {
        DatagramSocket serviceSocket = new DatagramSocket(9999);

        new Thread(new ReciveTask(serviceSocket)).start();
        new Thread(new SendTask(serviceSocket, "127.0.0.1", 8888)).start();
    }
}
